package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.DishDto;
import com.itheima.dto.SetmealDto;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    //添加套餐
    public void saveWithDish(SetmealDto setmealDto);
    //根据套餐id查询套餐数据
    public SetmealDto getid(Long id);
    //修改套餐
    public void updateWithDish(SetmealDto setmealDto);
    //删除套餐
    public void deleteWithDish(List<Long> ids);
    //起售、禁售
    public void sellWithDish(Integer status,List<Long> ids);
}
